﻿using GrapeCity.Forguncy.Plugin;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CollectionOperationKit
{
    public class SortRuleObject : ObjectPropertyBase
    {
        [FormulaProperty]
        [DisplayName("属性名")]
        public object Name { get; set; }

        [DisplayName("顺序")]
        [ComboProperty]
        public Direction Direction { get; set; } = Direction.升序;

    }

    public enum Direction { 
        升序,
        降序
    }
}
